<!--
 * @Author: 李灿
 * @Date: 2021-12-01 11:57:25
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="./lib/index.js"></script>

  <style>
    .red {
      color: red;
    }
  </style>
</head>

<body>
  <h2 id="h2">文档</h2>

  <input type="text" id="input" value="1234">

  <script>
    const callback = () => {
      console.log('hashchange');
    }

    burry.onHashChange(callback)


  </script>
</body>

</html>